home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 2: CDPD 1 / Almathera Ten on Ten - Disc 2: CDPD 1.iso / pd / 076-100 / 079 / sharedlib / extlibrary.h < prev    next >
C/C++ Source or Header  |  1995-03-13  |  1KB  |  44 lines

  1. /* library.h    James M Synge    16-Apr-1987    */
  2.  
  3. /* This struct definition is designed to enable easy
  4.  * extention of the Library structure with a particular
  5.  * library's variables.
  6.  */
  7.  
  8. #ifndef EXEC_TYPES_H
  9. #include "exec/types.h"
  10. #endif
  11. #ifndef EXEC_NODES_H
  12. #include "exec/nodes.h"
  13. #endif
  14. #ifndef EXEC_LIBRARIES_H
  15. #include "exec/libraries.h"
  16. #endif
  17.  
  18. struct ExtLibrary {
  19.     /* First the standard Library */
  20.     struct Library el_Lib;
  21.  
  22.     /* And now any library specific variables */
  23.  
  24.     /* Example: These show the form of the names
  25.      * such variables might have. */
  26.  
  27. /*    long el_var1;        */
  28. /*    long el_var2;        */
  29. /*    long el_var3;        */
  30. };
  31.  
  32. /* These accessor #define's are simple conveniences. */
  33.  
  34. #define el_Node        el_Lib.lib_Node
  35. #define el_Flags    el_Lib.lib_Flags
  36. #define el_pad        el_Lib.lib_pad
  37. #define el_NegSize    el_Lib.lib_NegSize
  38. #define el_PosSize    el_Lib.lib_PosSize
  39. #define el_Version    el_Lib.lib_Version
  40. #define el_Revision    el_Lib.lib_Revision
  41. #define el_IdString    el_Lib.lib_IdString
  42. #define el_Sum        el_Lib.lib_Sum
  43. #define el_OpenCnt    el_Lib.lib_OpenCnt
  44.